package com.witnsoft.mteaf.core.webcontroller;

import javax.servlet.*;

public class SaftyFilter implements Filter{

  private FilterConfig config;
  
  public void init(FilterConfig filterConfig) throws javax.servlet.ServletException {
    this.config = filterConfig;
  }
  
  public void doFilter(ServletRequest request, ServletResponse response, FilterChain fc) throws java.io.IOException, javax.servlet.ServletException {

    fc.doFilter(request, response);

  }
  
  public void setFilterConfig(FilterConfig filterConfig) {
    this.config = filterConfig;
  }

  public FilterConfig getFilterConfig() {
    return this.config;
  }

  public void destroy() {
    this.config = null;
  }
}
